package com.tkp.entity;

import com.tkp.interfaceU.AccountType;
import lombok.Data;
import lombok.ToString;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotNull;
import java.sql.Timestamp;

/**
 * @Author: duk
 * @Date: 2021/11/9 19:57
 * @Description: 银行账户
 */
@Data
@ToString
@Validated
public class Bank {
    private AccountType accountType;
    @NotNull
    private  String accountCode;
    @NotNull
    private String accountName;
    private Timestamp createDate;
}
